package com.adison.performancedemo.ui;

import com.adison.performancedemo.BaseActivity;
import com.adison.performancedemo.R;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import android.view.View;

/**
 * Created by adison on 15/11/15.
 */
public class UIActivity extends BaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_view);
        Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
        setSupportActionBar(toolbar);
    }


    public void hierarchy(View view){
        //View 层次
        startActivity(new Intent(this, HierarchyActivity.class));

    }
    public void overdraw(View view){
        //过渡绘制
    }

    public void jank(View view){
        //掉帧
    }

    public void beyondJank(View view){
        //跳帧
    }

}
